package day11;

/**
 * @author oldliu
 * @since 1.0
 */
public class Calc {
    @MyTest(before = "before add")
    public int add(int a, int b) {
        return a + b;
    }
    @MyTest(before = "乘法之前",after = "乘法之后")
    public int mul(int a, int b) {
        return a * b;
    }

    public int takeaway(int a, int b) {
        return a - b;
    }

    public int div(int a, int b) {
        return a / b;
    }
}
